package com.unionx.unionxuf.controller;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

import com.unionx.unionxuf.common.TransformerStr;
import com.unionx.unionxuf.service.LocalSettleService;
@Controller
@RequestMapping(value="/st")
public class LocalSettlestyle {
	
	@Autowired
	private LocalSettleService lss;
	
	@RequestMapping(value="/insert/insertSettleStyle")
	@ResponseBody
	public Object insertSettleStyle(String sde,String st,String sb,String sn,String cropid){
		
		return  lss.insertSettleStyle(sde,st,sb,sn,cropid);
		
	}
	
	
	@RequestMapping(value="/del")
	@ResponseBody
	public Object delSettleStyle(String scode,String cropid){
		
		return  lss.delSettleStyle(scode,cropid);
		
	}
	
	
	@RequestMapping(value = "/selectst")
	@ResponseBody
    private Object selectst(String cropid){
		
		return  lss.selectst(cropid);
		
	}	
}
